var e = require;
var t = module;
cc.Class({
    extends: cc.Component,
    properties: {
        DeathClothesObject: cc.Node,
        DeathWeaponObjects: [cc.Node],
        DeathYearObjects: [cc.Node]
    },
    DeathFunction: function(e, t, n) {
        void 0 === t && (t = !1);
        void 0 === n && (n = -1);
        var o = this.node.parent.convertToWorldSpaceAR(this.node.position),
        i = LevelManager.Instance.SceneContentNode.convertToNodeSpaceAR(o);
        this.node.parent = LevelManager.Instance.SceneContentNode;
        this.node.position = i;
        this.node.setSiblingIndex(0);
        this.node.active = !0
    }
})